package com.ruoyi.dailytask.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 每日任务对象 daily_task
 * 
 * @author ruoyi
 * @date 2025-11-10
 */
public class DailyTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 任务名称 */
    @Excel(name = "任务名称")
    private String taskName;

    /** 任务描述 */
    @Excel(name = "任务描述")
    private String taskDescription;

    /** 最低等级 */
    @Excel(name = "最低等级")
    private Long minUserLevel;

    /** 最高等级 */
    @Excel(name = "最高等级")
    private Long maxUserLevel;

    /** 奖励金额 */
    @Excel(name = "奖励金额")
    private BigDecimal rewardAmount;

    /** 返佣金额 */
    @Excel(name = "返佣金额")
    private BigDecimal commissionAmount;

    /** 库存 */
    @Excel(name = "库存")
    private Long dailyLimit;

    /** 是否启用 */
    @Excel(name = "是否启用")
    private Long isActive;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setTaskName(String taskName) 
    {
        this.taskName = taskName;
    }

    public String getTaskName() 
    {
        return taskName;
    }

    public void setTaskDescription(String taskDescription) 
    {
        this.taskDescription = taskDescription;
    }

    public String getTaskDescription() 
    {
        return taskDescription;
    }

    public void setMinUserLevel(Long minUserLevel) 
    {
        this.minUserLevel = minUserLevel;
    }

    public Long getMinUserLevel() 
    {
        return minUserLevel;
    }

    public void setMaxUserLevel(Long maxUserLevel) 
    {
        this.maxUserLevel = maxUserLevel;
    }

    public Long getMaxUserLevel() 
    {
        return maxUserLevel;
    }

    public void setRewardAmount(BigDecimal rewardAmount) 
    {
        this.rewardAmount = rewardAmount;
    }

    public BigDecimal getRewardAmount() 
    {
        return rewardAmount;
    }

    public void setCommissionAmount(BigDecimal commissionAmount) 
    {
        this.commissionAmount = commissionAmount;
    }

    public BigDecimal getCommissionAmount() 
    {
        return commissionAmount;
    }

    public void setDailyLimit(Long dailyLimit) 
    {
        this.dailyLimit = dailyLimit;
    }

    public Long getDailyLimit() 
    {
        return dailyLimit;
    }

    public void setIsActive(Long isActive) 
    {
        this.isActive = isActive;
    }

    public Long getIsActive() 
    {
        return isActive;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("taskName", getTaskName())
            .append("taskDescription", getTaskDescription())
            .append("minUserLevel", getMinUserLevel())
            .append("maxUserLevel", getMaxUserLevel())
            .append("rewardAmount", getRewardAmount())
            .append("commissionAmount", getCommissionAmount())
            .append("dailyLimit", getDailyLimit())
            .append("isActive", getIsActive())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
